package com.deli.springboot.repository;


import com.deli.springboot.entity.SuccessKilled;

public interface SuccessKilledDao {

    /**
     * 插入秒杀商品的明细，
     * @param seckillId
     * @param userPhone
     * @return
     */
    int insertSuccessKilled(long seckillId,long userPhone);

    /**
     * 根据Id查询出秒杀商品的明细信息
     * @param seckilledId
     * @return
     */
    SuccessKilled queryByIdWithSeckill(long seckilledId);
}
